import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:image_picker/image_picker.dart';
import 'package:loxen/routes/routes.dart';
import 'package:provider/provider.dart';

class FinishAttestation extends StatefulWidget {
  @override
  _FinishAttestationState createState() => _FinishAttestationState();
}

class _FinishAttestationState extends State<FinishAttestation> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          centerTitle: true,
          title: Text(
            "企业认证",
            style: TextStyle(
              color: Colors.black,
              fontSize: 32.sp,
              fontWeight: FontWeight.bold,
            ),
          ),
          backgroundColor: Colors.white,
          elevation: 0,
          leading: GestureDetector(
            onTap: () {
              Navigator.pop(context);
            },
            child: Icon(
              Icons.arrow_back_ios,
              color: Color(0xFF000000),
            ),
          ),
        ),
        body: ListView(
          children: <Widget>[
            Padding(
              padding: EdgeInsets.fromLTRB(50.w, 200.h, 50.w, 0),
              child: Container(
                  width: 176.w,
                  height: 176.h,
                  child: CircleAvatar(child: Image(
                    image: AssetImage("images/audit@2.png",
                    ),
                  ),)),
            ),
            Padding(
              padding: EdgeInsets.fromLTRB(50.w, 50.h, 50.w, 0),
              child: Container(
                  alignment: Alignment.center,
                  child: Column(
                    children: <Widget>[Text(
                      "认证已提交",
                      style: TextStyle(
                        fontSize: 28.sp,
                      ),
                    ),Text(
                      "",
                      style: TextStyle(
                        fontSize: 28.sp,
                      ),
                    ),Text(
                      "我们将在3~5个工作日内审核完成",
                      style: TextStyle(
                        fontSize: 28.sp,
                      ),
                    )],
                  )),
            ),

            Padding(
                padding: EdgeInsets.fromLTRB(80.w, 350.h, 80.w, 0),
                child: Container(
                  height: 100.h,
                  color: Colors.lightBlue,
                  child: FlatButton(
                    child: Text(
                      "提交审核",
                      style: TextStyle(color: Colors.white),
                    ),
                    onPressed: () {
                      Navigator.pop(context);
                      Navigator.pop(context);


                    },
                  ),
                ))
          ],
        ));
  }
}
